package com.xu.mall.base.tree.manager;

import java.io.Serializable;

import com.xu.mall.base.tree.ITreeNode;
import com.xu.mall.base.tree.entity.ITreeEntity;

public interface ITreeManager<PK extends Serializable> {
	public abstract ITreeNode<?> getTree(PK id);

	public abstract ITreeNode<?> getTreeByType(String type);

	public abstract void addNode(ITreeEntity tree);

	public abstract void removeNode(PK id);

	public abstract ITreeNode<?> reload(PK id);

}
